import request from '@/api/request'

//数据列表
export function index(params) {
	return request({ url: '/admin/Job/index',method: 'post',data: params})
}


//修改排序开关
export function updateExt(params) {
	return request({ url: '/admin/Job/updateExt',method: 'post',data: params})
}


//添加
export function add(params) {
	return request({ url: '/admin/Job/add',method: 'post',data: params})
}


//修改
export function update(params) {
	return request({ url: '/admin/Job/update',method: 'post',data: params})
}

export function getUpdateInfo(params) {
	return request({ url: '/admin/Job/getUpdateInfo',method: 'post',data: params})
}


//删除
export function del(params) {
	return request({ url: '/admin/Job/delete',method: 'post',data: params})
}


//查看详情
export function detail(params) {
	return request({ url: '/admin/Job/detail',method: 'post',data: params})
}



//后台操作
export function runOnce(params) {
	return request({ url: '/admin/Job/runOnce',method: 'post',data: params})
}
